#ifndef PREVWID_H
#define PREVWID_H

#include <QGraphicsPixmapItem>
#include <QApplication>
#include <qdebug.h>
#include <QPixmap>

class prevWid : public QObject, public QGraphicsPixmapItem
{
        Q_OBJECT
public:
    prevWid(QString icon);

private:
    QPixmap * prevPix;
    void mousePressEvent(QGraphicsSceneMouseEvent * event);

signals:
    void prevPressed();
};

#endif // PREVWID_H
